package com.adinall.dsp.service;

import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.Model;

import com.adinall.dsp.common.data.RPTBannerData;
import com.adinall.dsp.common.data.RPTData;
import com.adinall.dsp.common.data.RPTHourData;
import com.adinall.dsp.common.data.RPTLocationData;
import com.adinall.dsp.common.data.RPTMediaData;
import com.adinall.dsp.core.data.Page;
import com.adinall.dsp.service.form.RPTAdgroupForm;
import com.adinall.dsp.service.form.RPTOrderDimensionForm;

/**
 * 策略统计用Service
 * 
 * @author 高万超
 * @version V1.0.0 $ 2017年9月11日 下午5:06:29
 */
public interface RPTAdgroupService {

    void detailInit(Model model, Integer id);

    Page<RPTData> list(RPTAdgroupForm form);

    RPTData all(RPTOrderDimensionForm form);

    Page<RPTData> daily(RPTOrderDimensionForm form);

    Page<RPTLocationData> location(RPTOrderDimensionForm form);

    Page<RPTBannerData> banner(RPTOrderDimensionForm form);

    Page<RPTHourData> hour(RPTOrderDimensionForm form);

    Page<RPTMediaData> media(RPTOrderDimensionForm form);

    void excel(HttpServletResponse response, RPTOrderDimensionForm form);

    void excelList(HttpServletResponse response, RPTAdgroupForm form);
}
